package com.company.class11.Inter;

/**
 * @Classname ElectFan
 * @Description 类型说明
 * @Date 2022/5/7 0:54
 * @Created by zbw
 */

public class ElectFan implements USbDevice{
    @Override
    public void supplyPower() {
        System.out.println("正在给usb风扇充电");
    }

    @Override
    public void transferData() {
        System.out.println("风扇没有传数据的功能");
    }

    @Override
    public void fix(String function) {
        System.out.println("风扇正在吹"+function+"的风");
    }
}
